package my.edu.model.bills.purchase.entity.vo;

import lombok.Data;
import my.edu.model.bills.purchase.entity.dto.PurchaseDetailOrderDTO;
import my.edu.model.bills.purchase.entity.dto.PurchaseSalesExpensesDTO;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

@Data
public class PurchaseOrderVO {
    private Long            id;
    private String          orderNo;
    private LocalDate       orderDate;
    private BigDecimal      purchaseAmount;//购货金额
    private BigDecimal      discountRate;//优惠率
    private BigDecimal      discountAmount;//优惠金额
    private Integer         quantity;
    private BigDecimal      amountAfterDiscount;//优惠后金额
    private BigDecimal      paidAmount;//已付款金额
    private String          deliveryMethodName;//交货方式
    private String          deliveryMethod;//交货方式
    private String          paymentStatus;//付款状态
    private String          returnStatus;//退货状态
    private Integer         isAudited;//是否审核
    private String          remark;
    private Long            supplierId;
    private String          supplierName;
    private String          supplierAddress;
    private Long            salesmanId;//业务员ID
    private String          salesmanName;
    private Long            purchaseReturnOrderId;//购货退货单ID
    private String          purchaseReturnOrderNo;//购货退货单号
    private Long            settlementAccountId;//结算账户ID
    private String          settlementAccountName;
    private Integer         isAllocated;//是否分摊
    private Long            auditorId;//审核人ID
    private String          auditorName;//审核人姓名
    private Long            logisticsId;//物流ID
    private String          logisticsNo;//物流单号

    private List<PurchaseDetailOrderVO> purchaseDetailDTOList;
    private List<PurchaseSalesExpensesDTO> purchaseSalesExpensesDTOList;
}
